home *** CD-ROM | disk | FTP | other *** search
/ Visual Basic Source Code / Visual Basic Source Code.iso / vbsource / codetree / codetree.txt < prev    next >
Text File  |  1997-10-07  |  4KB  |  97 lines

  1. About CodeTree
  2.  
  3. CodeTree is an enhanced project browser for Visual Basic 5. 
  4. It allows you to browse not only the categories and files 
  5. (like the built in project window), but the individual 
  6. functions as well. You Simply expand the tree and click 
  7. on the function (or property, global, etc.) you would like 
  8. to work on. CodeTree opens the file and positions the window 
  9. to that function automatically.
  10.  
  11. CodeTree presents projects in a tree view, much like the 
  12. built-in project window, but extends the functionality to 
  13. create a browser that is somewhat like Visual C++.
  14.  
  15. CodeTree also has a limited ability to detect that a given 
  16. function calls other functions in its body. This provides a 
  17. quick (static) call tree so that you can browse to all related 
  18. functions when you are working. If you have a large project, 
  19. or very long functions, please be patient. It sometimes takes 
  20. a while to figure out all the called items. CodeTree does run 
  21. in its own thread, however, and you can work in the rest of 
  22. VB while it is searching.
  23.  
  24. CodeTree has the single feature that no VB user should be 
  25. without, FindAll. When in the VB code window editing, simply 
  26. highlight a string that you are looking for and select Find 
  27. All from the Right-Mouse context menu. The answer will be 
  28. presented in a list of Project.Module with line number. Clicking 
  29. a row in the list will take you to that location in code!
  30.  
  31.  
  32. Instructions
  33.  
  34. After activating Code Tree, select it from the Add-In menu. A view 
  35. will be presented in a dockable window. Expand and explore your 
  36. project. Component level items (form, module, class, etc.) can be 
  37. filtered to exclude items with the right-mouse context menu. 
  38. Clicking a component or member (property, variable, method, etc.) 
  39. will take you directly to that item.
  40.  
  41. Individual functions can be scanned for other methods and variables 
  42. that they reference. With the right mouse menu, select Show Calls 
  43. on a member. Be patient, it can take a small amount of time (10-30 
  44. sec.) to scan a decent size projects (20-30 forms, 4-5k lines), 
  45. depending on the total number of variables and functions. Only 
  46. module level items are scanned for. The intent of this function 
  47. is navigational, allowing you to quickly see all items you are 
  48. calling and go to them. At this time, CodeTree does not resolve 
  49. to the object level. In simple terms if you have a really generic 
  50. method name like Enabled, you will see it multiple times in the 
  51. CodeTree (once for each object with and Enabled method), it doesn't 
  52. make any effort to figure out what object class it applies to.
  53.  
  54. The Find All is the simplest and most useful feature. Select text 
  55. in the VB Code Window, and pick Find All on the right-mouse menu. 
  56. There is no status bar currently, but the search tends to be very 
  57. fast, even on projects of several thousand lines. 
  58.  
  59. Revision History
  60. 0.6 First Available Release
  61. --Reworking of internal components into OCX format
  62. --Addition of context menu find all feature
  63. --Limited progress bar
  64. 0.5 Internal Test Release
  65. --Mapping of VBIDE to support extensions
  66. --Browser code located in AX document
  67.  
  68.  
  69. License
  70.  
  71. This version of CodeTree is free to all users of VB 5. Please take 
  72. the time to email me at wballard@clubnet.net with the subject line 
  73. CodeTree so that I can provide you with information on enhancements.
  74.  
  75. CodeTree is (c)1997 Will Ballard, all rights reserved.
  76.  
  77. Support 
  78.  
  79. CodeTree is free, so support is limited. However, mail with the 
  80. subject line CodeTree will be processed and bug reports and 
  81. suggestions for enhancements will be taken seriously.
  82.  
  83. At this time, fax contact is also available at (310) 796-1981, 
  84. sorry, no 800 number! Best to just use email...
  85.  
  86. Installation Notes
  87.  
  88. The setup program is designed to bother you as little as possible. 
  89. It only asks for an installation directory. Otherwise, it will 
  90. register the codetree.dll and put the proper entry in the vbaddin.ini 
  91. file to connect it to you VB5 GUI.
  92.  
  93. If, however, you do not file CodeTree in you Add-in Manager:
  94. 1. Register codetree.dll with regsvr32.exe
  95. 2. Add CodeTree.Connect=0 to your vbaddin.ini file
  96.  
  97.